import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
// https://vitepress.dev/reference/default-theme-config
export default defineConfig({
  title: "博客",
  description: "博客站点",
  themeConfig: {
    nav: [
      { text: 'Home', link: '/' },
      {
        text: 'Windows', link: '/windows'
      },
      { text: 'Linux', link: '/linux/index.md' },
      { text: 'Redis', link: '/redis/index.md' },
      { text: 'Zig', link: '/zig/index.md' },
    ],

    sidebar: [
      {
        "text": "zig",
        "collapsed": false,
        "items": [
          {
            "text": "index",
            "link": "/zig/index.md"
          },
          {
            "text": "002.zvm",
            "link": "/zig/002.zvm.md"
          },
          {
            "text": "zig",
            "link": "/zig/zig.md"
          }
        ]
      },
  
   
      {
        "text": "python",
        "collapsed": false,
        "items": [
          {
            "text": "001.sqlalchemy",
            "link": "/python/001.sqlalchemy.md"
          }
        ]
      },
      {
        "text": "database_pg",
        "collapsed": false,
        "items": [
          {
            "text": "004.pg监控工具",
            "link": "/database_pg/004.pg监控工具.md"
          },
          {
            "text": "008.pg数据库集群",
            "link": "/database_pg/008.pg数据库集群.md"
          },
          {
            "text": "002.pg测试",
            "link": "/database_pg/002.pg测试.md"
          },
          {
            "text": "010.pg_cron 定时任务插件",
            "link": "/database_pg/010.pg_cron 定时任务插件.md"
          },
          {
            "text": "007.pg最佳实践",
            "link": "/database_pg/007.pg最佳实践.md"
          },
          {
            "text": "009.pg的python客户端",
            "link": "/database_pg/009.pg的python客户端.md"
          },
          {
            "text": "001.pg数据库安装",
            "link": "/database_pg/001.pg数据库安装.md"
          },
          {
            "text": "README",
            "link": "/database_pg/README.md"
          },
          {
            "text": "003.pg消息队列",
            "link": "/database_pg/003.pg消息队列.md"
          },
          {
            "text": "006.pg压力测试",
            "link": "/database_pg/006.pg压力测试.md"
          },
          {
            "text": "011.扩展安装",
            "link": "/database_pg/011.扩展安装.md"
          },
          {
            "text": "005.pg全文索引",
            "link": "/database_pg/005.pg全文索引.md"
          }
        ]
      },
   
     
      {
        "text": "windows",
        "collapsed": false,
        "items": [
          {
            "text": "018.NavicatPremium破解版激活详细教程注册机无需断网",
            "link": "/windows/018.NavicatPremium破解版激活详细教程注册机无需断网.md"
          },
          {
            "text": "016.windows下安装v2ray客户端",
            "link": "/windows/016.windows下安装v2ray客户端.md"
          },
          {
            "text": "019.ghost博客搭建",
            "link": "/windows/019.ghost博客搭建.md"
          },
          {
            "text": "index",
            "link": "/windows/index.md"
          },
          {
            "text": "012.WPS2019软件下载和安装教程",
            "link": "/windows/012.WPS2019软件下载和安装教程.md"
          },
          {
            "text": "014.禁用谷歌浏览器自动更新最好的解决方式",
            "link": "/windows/014.禁用谷歌浏览器自动更新最好的解决方式.md"
          },
          {
            "text": "017.chrome代理工具ZeroOmega",
            "link": "/windows/017.chrome代理工具ZeroOmega.md"
          },
          {
            "text": "009.proxy.不代理的地址列表",
            "link": "/windows/009.proxy.不代理的地址列表.md"
          },
          {
            "text": "008.windows添加开机启动vmware虚拟机脚本",
            "link": "/windows/008.windows添加开机启动vmware虚拟机脚本.md"
          },
          {
            "text": "013.vscode设置",
            "link": "/windows/013.vscode设置.md"
          },
          {
            "text": "工具",
            "link": "/windows/工具.md"
          },
          {
            "text": "004.磁力点播",
            "link": "/windows/004.磁力点播.md"
          },
          {
            "text": "015.windows下初始化git",
            "link": "/windows/015.windows下初始化git.md"
          },
          {
            "text": "006.Win10系统中安装WSA子系统",
            "link": "/windows/006.Win10系统中安装WSA子系统.md"
          },
          {
            "text": "003.win10装机问题",
            "link": "/windows/003.win10装机问题.md"
          },
          {
            "text": "011.文本编辑器Typora软件下载和安装教程兼容WIN10",
            "link": "/windows/011.文本编辑器Typora软件下载和安装教程兼容WIN10.md"
          },
          {
            "text": "005.HyperV虚拟机",
            "link": "/windows/005.HyperV虚拟机.md"
          },
          {
            "text": "007.window开机自启动的几种方式",
            "link": "/windows/007.window开机自启动的几种方式.md"
          },
          {
            "text": "010.电影下载",
            "link": "/windows/010.电影下载.md"
          }
        ]
      },
      {
        "text": "linux",
        "collapsed": false,
        "items": [
          {
            "text": "119.github加速服务",
            "link": "/linux/119.github加速服务.md"
          },
          {
            "text": "001_INCUS安装",
            "link": "/linux/001_INCUS安装.md"
          },
          {
            "text": "117.sudo命令免密码",
            "link": "/linux/117.sudo命令免密码.md"
          },
          {
            "text": "110.linux磁盘挂载",
            "link": "/linux/110.linux磁盘挂载.md"
          },
          {
            "text": "004.生产环境部署",
            "link": "/linux/004.生产环境部署.md"
          },
          {
            "text": "109.Linux环境如何测试磁盘读写性能",
            "link": "/linux/109.Linux环境如何测试磁盘读写性能.md"
          },
          {
            "text": "index",
            "link": "/linux/index.md"
          },
          {
            "text": "120.uv",
            "link": "/linux/120.uv.md"
          },
          {
            "text": "116.android.Waydroid",
            "link": "/linux/116.android.Waydroid.md"
          },
          {
            "text": "005_duckdb2",
            "link": "/linux/005_duckdb2.md"
          },
          {
            "text": "107.git相关",
            "link": "/linux/107.git相关.md"
          },
          {
            "text": "104_django",
            "link": "/linux/104_django.md"
          },
          {
            "text": "112.systemd下永久运行fastapi项目",
            "link": "/linux/112.systemd下永久运行fastapi项目.md"
          },
          {
            "text": "001_编辑器",
            "link": "/linux/001_编辑器.md"
          },
          {
            "text": "007_代码管理工具",
            "link": "/linux/007_代码管理工具.md"
          },
          {
            "text": "108.mysql.pg.redis",
            "link": "/linux/108.mysql.pg.redis.md"
          },
          {
            "text": "101_异地组网",
            "link": "/linux/101_异地组网.md"
          },
          {
            "text": "006_react",
            "link": "/linux/006_react.md"
          },
          {
            "text": "001.VMware安装配置Ubuntu最新版超详细",
            "link": "/linux/001.VMware安装配置Ubuntu最新版超详细.md"
          },
          {
            "text": "114.Linux中inode使用率满了解决办法_inode节点满处理方法",
            "link": "/linux/114.Linux中inode使用率满了解决办法_inode节点满处理方法.md"
          },
          {
            "text": "003_初始化node环境",
            "link": "/linux/003_初始化node环境.md"
          },
          {
            "text": "115.获取公网IP",
            "link": "/linux/115.获取公网IP.md"
          },
          {
            "text": "004_开发环境",
            "link": "/linux/004_开发环境.md"
          },
          {
            "text": "106.ubuntu中python环境初始化",
            "link": "/linux/106.ubuntu中python环境初始化.md"
          },
          {
            "text": "002_ubuntu22.04环境初始化",
            "link": "/linux/002_ubuntu22.04环境初始化.md"
          },
          {
            "text": "118.nginx配置文件",
            "link": "/linux/118.nginx配置文件.md"
          },
          {
            "text": "103_代理搭建",
            "link": "/linux/103_代理搭建.md"
          },
          {
            "text": "102_hyper虚拟机安装",
            "link": "/linux/102_hyper虚拟机安装.md"
          },
          {
            "text": "005_duckdb",
            "link": "/linux/005_duckdb.md"
          },
          {
            "text": "111.Linux管理脚本工具",
            "link": "/linux/111.Linux管理脚本工具.md"
          },
          {
            "text": "113.linux中查看路由表配置网关方法",
            "link": "/linux/113.linux中查看路由表配置网关方法.md"
          },
          {
            "text": "002.ubuntu24.04",
            "link": "/linux/002.ubuntu24.04.md"
          },
          {
            "text": "005_duckdb3_对json数据unnest展开",
            "link": "/linux/005_duckdb3_对json数据unnest展开.md"
          }
        ]
      },
      {
        "text": "yuedu",
        "collapsed": false,
        "items": [
          {
            "text": "001.书单",
            "link": "/yuedu/001.书单.md"
          }
        ]
      },
     
    ],

    socialLinks: [
      { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
    ]
  },

})
